package xyz.zdsoft.project_group_manage_module.service;

import org.springframework.stereotype.Service;
import xyz.zdsoft.project_group_manage_module.mapper.UpdateStudentToTeamMapper;

import javax.annotation.Resource;
import java.util.HashMap;

@Service
public class UpdateStudentToTeamService {
    @Resource
    private UpdateStudentToTeamMapper updateStudentToTeamMapper;

    public Integer updateStudentToTeam(HashMap<String,Object> map){
        return updateStudentToTeamMapper.UpdateStudentToTeam(map);
    }
    //判断项目组是否存在
    public Integer selHaveTeam(Long teamId){
        return updateStudentToTeamMapper.SelHaveTeam(teamId);
    }
}
